package com.crazyant;

import java.util.ArrayList;

import android.content.res.Resources;
import android.os.PowerManager;
import android.util.DisplayMetrics;




public class GV {
	public static class Screen {
		public static DisplayMetrics metrics;
		public static int Orientation;
		public static PowerManager.WakeLock wl;
	}
	
	public static class BBDD {
		public static DatabaseHandler dbhandler;
		public static String user;
		public static int mundo;
		public static int pant;
		public static int score;
		public static int r;
		public static int color;
	}
	
	public static class Antp {
		public static int color;
		public static int cuerpo;
		public static int casco;
		public static int botas;
		public static int id;
	}
	
	public static float widthpercent(float pc) {
		return Screen.metrics.widthPixels*pc/100;
	}
	
	public static float heightpercent(float pc) {
		return Screen.metrics.heightPixels*pc/100;
	}
	
	public static class Prota {
		public static float desplazamientoy;
	}
	
	public static class Plat {
		public static float limder;
		public static float limizq;
	}
	
	public static class Instancies {
		public static MapasView mapasview;
		public static Game11Layout game11layout;
		public static Game11 game11;
		public static InventoryView inventory;
		public static Resources respest;
		public static Mapas mapas;
		public static Personalizar personalizar;
		public static PersonalizarView persview;
		public static ArrayList<Objecte> fondos;
		public static ArrayList<Objecte> plataformes_mapa;
		public static ArrayList<Monster> monstres;
		public static ArrayList<Lacasito> lacasitos;
		public static ArrayList<Tramps> tramps;
		public static ArrayList<Disparo> galleta_d;
		public static ArrayList<Plataforma> plataformes;
		public static Objecte prot;
		public static float desplazamiento;
		public static int control;
		public static int salto;
		public static int pos0;
		public static int monstre;
		public static int disparo;
		public static int fast_die;
	}
	
	public static class Control_mapas {
		public static int parar;
	}
	
	public static class Control {
		public static int csalto;
		public static int cplat;
	}
	
	
	//Puntuacions
	public static class Game {
		public static int mundo;
		public static int pantalla;
		public static int puntos;
		public static int vida;
		public static int gameover;
		public static int pasa_pantalla;
	}
}